import React, { Component } from 'react'
import {Link,Route} from 'react-router-dom'
import Detail from './Detail'

export default class Message extends Component {
	render() {
		return (
			<div>
				<ul>
					<li>
						<Link to="/home/message/detail">消息1</Link>
					</li>
					<li>
						<Link to="/home/message/detail">消息2</Link>
					</li>
					<li>
						<Link to="/home/message/detail">消息3</Link>
					</li>
				</ul>
				<hr/>
				<Route path="/home/message/detail" component={Detail}/>
			</div>
		)
	}
}
